home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Burning & Media / GB-PVR 1.2.13 / GBPVR10213.msi / Cabs.w1.cab / Search.aspx147 < prev    next >
Text File  |  2008-02-23  |  12KB  |  202 lines

  1. <%@ Page language="c#" Debug="true" Inherits="gbweb.Search" CodeFile="Search.aspx.cs" culture="auto" uiculture="auto" %>
  2. <%@ Register TagPrefix="gbpvr" TagName="Header" Src="Header.ascx" %>
  3. <%@ Register TagPrefix="gbpvr" TagName="Footer" Src="Footer.ascx" %>
  4. <%@ Register Assembly="eWorld.UI" Namespace="eWorld.UI" TagPrefix="ew" %>
  5. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  6. <HTML>
  7.   <HEAD>
  8.         <title>GBPVR - Advanced Episode Search</title>
  9.         <link rel="stylesheet" type="text/css" href="<%=System.Convert.ToString(Session["theme"])%>/styles.css">
  10.         <link rel="shortcut icon" type="image/gif" href="<%=System.Convert.ToString(Session["theme"])%>/favicon.gif">
  11.         <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  12.         <script language="javascript" src="public/Ajax.js"></script>
  13.         <script language="JavaScript">
  14.             function checkFocus(e)
  15.             {
  16.                 if (e.type == "load")
  17.                 {
  18.                     document.formRecord.searchPhrase.focus();
  19.                 }
  20.             }
  21.             function checkSubmit(e)
  22.             {
  23.                 if (e.keyCode == 13)
  24.                 {
  25.                     eval(document.getElementById('hlSubmit').href);
  26.                 }
  27.             }
  28.         </script>
  29.         <script language="javascript" src="public/popup.js"></script>
  30. </HEAD>
  31.     <body class="tabbedpage" onload="return checkFocus(event), GetServerTime(), GetReminders();" onkeypress="return checkSubmit(event);">
  32.         <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="True">
  33.             <Services>
  34.                 <asp:ServiceReference Path="~/AjaxService.asmx" />
  35.             </Services>
  36.         </asp:ScriptManager>
  37.         <form id="formRecord" runat="server">
  38.             <gbpvr:Header id="header" runat="server" ActiveTab="search" />
  39.             <!-- Topbar end -->
  40.             <table border="0" cellspacing="0" cellpadding="0" width="100%">
  41.                 <tr>
  42.                     <td align=left valign=top><IMG height="14" src="public/t.gif" width="1" border="0"></td>
  43.                     <td>
  44.                     <table cellSpacing="0" border="0" cellpadding="0">
  45.                         <tr>
  46.                             <td align=left valign=top id=timeDiv class=time></td>
  47.                             <td align=left valign=top><IMG height="1" src="public/t.gif" width="15" border="0"></td>
  48.                             <td align=left valign=top id=REMINDER_DIV class=time ></td>
  49.                         </tr>    
  50.                     </table>
  51.                     </td>
  52.                 </tr>
  53.                 <tr>
  54.                     <td colspan="2">
  55.                         <img border="0" height="10" src="public/t.gif" width="10" />
  56.                         <img src="public/t.gif" width="1" height="14" border="0">
  57.                         <span style="width: 116px"><a class="listing" href="ManualRecord.aspx" onclick="EditPop3(this.href,'Add0');return false;">
  58.                             Manual Record</a><img border="0" height="1" src="public/t.gif" width="4" /></span></td>
  59.                 </tr>
  60.                 <tr>
  61.                     <td width="10"><img src="public/t.gif" width="10" height="1" border="0"></td>
  62.                     <td width="99%">
  63.                         <table border="0" cellspacing="0" cellpadding="0" width="100%">
  64.                             <tr>
  65.                                 <td width="99%" class="cline"><img src="public/t.gif" width="400" height="1" border="0"></td>
  66.                             </tr>
  67.                             <tr>
  68.                                 <td width="99%"><span class="date"> <img src="public/t.gif" width="1" height="4"><br>
  69.                                         <b>Advanced Episode Search</b></span></td>
  70.                             </tr>
  71.                         </table>
  72.                         <img src="public/t.gif" width="1" height="10"><br>
  73.                         <!-- Search table begin-->
  74.                         <span class="keysearch"></span>
  75.                         <table class="listing" border="0">
  76.                             <colgroup>
  77.                                 <col width="170">
  78.                                 <col width="5">
  79.                                 <col width="400">
  80.                             </colgroup>
  81.                             <tr valign="top">
  82.                                 <td align="right">
  83.                                     <strong>Saved Search Filters:</strong></td>
  84.                                 <td rowspan="1" style="width: 5px">
  85.                                 </td>
  86.                                 <td align="left" style="width: 596px">
  87.                                     <asp:RadioButtonList ID="savedSearchFilter" runat="server" AutoPostBack="True" OnSelectedIndexChanged="savedSearchFilter_SelectedIndexChanged"
  88.                                         RepeatDirection="Horizontal" RepeatLayout="Flow" Width="594px">
  89.                                         <asp:ListItem Selected="True" Value="all">All</asp:ListItem>
  90.                                         <asp:ListItem Value="auto">Auto Searches</asp:ListItem>
  91.                                         <asp:ListItem Value="auto-record">Auto Records</asp:ListItem>
  92.                                         <asp:ListItem Value="auto-all">Auto Search or Record</asp:ListItem>
  93.                                         <asp:ListItem Value="non-auto">Non-Auto Searches</asp:ListItem>
  94.                                     </asp:RadioButtonList></td>
  95.                             </tr>
  96.                             <tr valign="top">
  97.                                 <td align="right">
  98.                                     <strong>Use Saved Search:</strong>
  99.                                 </td>
  100.                                 <td rowspan="1" style="width: 5px">
  101.                                 </td>
  102.                                 <td align="left" style="width: 596px">
  103.                                     <span><asp:DropDownList ID="savedSearchList" runat="server" Width="469px" AutoPostBack="True" OnSelectedIndexChanged="loadSearch">
  104.                                     </asp:DropDownList>
  105.                                     <asp:LinkButton ID="deleteSavedSearch" runat="server" OnClick="deleteSavedSearch_Click" CssClass="btn-normal-small" ><span>Delete</span></asp:LinkButton>
  106.                                         <asp:LinkButton ID="updateSearch" runat="server" CssClass="btn-normal-small" OnClick="updateSavedSearch_Click"><span>Update</span></asp:LinkButton></span></td>
  107.                             </tr>
  108.                             <tr valign="top">
  109.                                 <td align="right">
  110.                                     <strong>Saved Search Name:</strong></td>
  111.                                 <td rowspan="1" style="width: 5px">
  112.                                 </td>
  113.                                 <td align="left" style="width: 596px">
  114.                                     <input type="text" name="textKeyWord" id="newSearchName" runat="server" style="width: 467px">
  115.                                     <asp:LinkButton ID="saveSearch" runat="server" OnClick="saveSearch_Click" CssClass="btn-normal-small"><span>Save</span></asp:LinkButton><br />
  116.                                     <span visible="false"><input type="checkbox" name="autoSearchInclude" id="autoSearchInclude" runat="server" value="">
  117.                                     Include in Daily Auto-Search (Sets reminders on Programmes)<br /></span>
  118.                                     <input type="checkbox" name="autoRecordInclude" id="autoRecordInclude" runat="server" value="">
  119.                                     Include in Daily Auto-Record (Schedules Programmes to record)</td>
  120.                             </tr>
  121.                             <tr valign="top">
  122.                                 <td align="right"><B>Search Areas:</B></td>
  123.                                 <td rowspan="8" style="width: 5px"></td>
  124.                                 <td align="left" style="width: 596px"><input type="checkbox" name="checkTitle" checked id="checkTitle" runat="server">Title   
  125.                                     <input type="checkbox" name="checkDesc" id="checkDescription" runat="server">Description <input type="checkbox" name="checkSubtitle" id="checkSubTitle" runat="server">Subtitle
  126.                                 </td>
  127.                             </tr>
  128.                             <tr valign="top">
  129.                                 <td align="right"><B>Search For Phrase:</B></td>
  130.                                 <td align="left" style="width: 596px"><input type="text" name="textKeyWord" size="50" id="searchPhrase" runat="server">
  131.                                     <input type="checkbox" name="caseSensitive" id="caseSensitive" runat="server" title="Selecting this will force the search to match the case of the letters entered in the search phrase.">Case Sensitive</td>
  132.                             </tr>
  133.                             <tr valign="top">
  134.                                 <td align="right"><B>Genre:</B></td>
  135.                                 <td align="left" style="width: 596px"><asp:ListBox id="genreList" runat="server" SelectionMode="Multiple" Rows="8"></asp:ListBox></td>
  136.                             </tr>
  137.                             <tr valign="top">
  138.                                 <td align="right">
  139.                                     <strong>Date Range:</strong></td>
  140.                                 <td align="left" style="width: 596px">
  141.                                     Start Date:
  142.                                     <ew:CalendarPopUp ID="startDate" Nullable="true" runat="server" PopupLocation="Top" ShowClearDate="True"></ew:CalendarPopUp>
  143.                                      
  144.                                     End Date:
  145.                                     <ew:CalendarPopUp ID="endDate" Nullable="true" runat="server" PopupLocation="Top" ShowClearDate="True"></ew:CalendarPopUp></td>
  146.                             </tr>
  147.                             <tr valign="top">
  148.                                 <td align="right">
  149.                                     <strong>Time Range:</strong></td>
  150.                                 <td align="left" style="width: 596px">
  151.                                     Start Time:
  152.                                     <ew:TimePicker ID="startTime" Nullable="true" runat="server" PopupLocation="Top" ShowClearTime="True"></ew:TimePicker>
  153.                                      
  154.                                     End Time:
  155.                                     <ew:TimePicker ID="endTime" Nullable="true" runat="server" PopupLocation="Top" ShowClearTime="True"></ew:TimePicker></td>
  156.                             </tr>
  157.                             <tr valign="top">
  158.                                 <td align="right"><B>Program Length:</B></td>
  159.                                 <td align="left" style="width: 596px"><input type="text" name="textMinLength" size="5" id="textMinLength" runat="server"> to <input type="text" name="textMaxLength" size="5" id="textMaxLength"  runat="server">
  160.                                     (in minutes)
  161.                                 </td>
  162.                             </tr>
  163.                             <span runat="server" id="treeViewSort">
  164.                                 <tr valign="top">
  165.                                     <td align="right">
  166.                                         <strong>Sort Order:</strong></td>
  167.                                     <td align="left" style="width: 596px">
  168.                                         <asp:RadioButtonList ID="srtOrder" runat="server" RepeatDirection="Horizontal" Width="546px" Height="11px" RepeatLayout="Flow">
  169.                                             <asp:ListItem Selected="True" Value="title">Title</asp:ListItem>
  170.                                             <asp:ListItem Value="genre">Genre</asp:ListItem>
  171.                                             <asp:ListItem Value="rating">Rating</asp:ListItem>
  172.                                             <asp:ListItem Value="date">Air Date (ad)</asp:ListItem>
  173.                                         </asp:RadioButtonList>
  174.                                     </td>
  175.                                 </tr>
  176.                             </span>
  177.                             <tr valign="top">
  178.                                 <td align="right"><B>Channel:</B></td>
  179.                                 <td align="left" style="width: 596px"><asp:ListBox id="listChannels" runat="server" SelectionMode="Multiple" Rows="6"></asp:ListBox>
  180.                                 </td>
  181.                             </tr>
  182.                             <tr>
  183.                                 <td colspan="3"><br>
  184.                                     <div style="FLOAT: right">
  185.                                         <asp:LinkButton id="hlSubmit" runat="server" CssClass="btn-normal-small" onclick="hlSubmit_Click">
  186.                                             <span>Submit</span></asp:LinkButton>
  187.                                         <asp:LinkButton id="hlReset" runat=server CssClass="btn-normal-small" OnClick="hlReset_Click">
  188.                                             <span>Reset</span></asp:LinkButton>
  189.                                     </div>
  190.                                 </td>
  191.                             </tr>
  192.                         </table>
  193.                         <!-- Search table end -->
  194.                         <gbpvr:Footer id="footer" runat="server" />
  195.                     </td>
  196.                     <td width="10"><img src="public/t.gif" width="10" height="71" border="0"></td>
  197.                 </tr>
  198.             </table>
  199.         </form>
  200.     </body>
  201. </HTML>
  202.